For Future Reference
==============

Fetch Data:
-------------
Payroll Date should be withing the selected date and Bank Letter should be created.

HardCoded Parties
---------------------
$arrParties[35] = 'Employee OLD Age Benefits Institution';
$arrParties[105] = 'National bank of Pakistan';
$arrParties[158] = 'Yourself';
$arrParties[28] = 'National Bank of Pakistan';


For Account Data
-------------------
PayDate: "account_posting" => pay_date
SysKey: "account_posting" => document_no
SysTag: "PR" fixed
TranCategory: "S" fixed
Year: "fiscal_year" => ref_id
Comp: "company" => ref_id
PartyID: "company_account"=>party_id, "company" => eobi_party_id", "company" => tax_party_id, "department" => party_id
Party: from HardCoded Parties with reference to PartyID
tran_type: C for (Bank Letter / Payable Amount, EOBI Amount, Tax Amount), D for "payroll" => (payable_salary+tax_deduction+other_deduction)
BAHKey: 0
AHKey: "company_account" => ah_key, "company"=>eobi_ah_key, "company" => tax_ah_key
CCKey: 0
BudKey: 0
Narr: ""
Ref: cheque_no for Bank Letter Entry, "" for all other
taxType: "N"
Pamount: (Bank Letter / Payable Amount, EOBI Amount, Tax Amount) for C, (payable_salary+tax_deduction+other_deduction) for D
Bamount: same as Pamount

For Budget Data
-------------------
Year: "fiscal_year" => ref_id
Comp: "company" => ref_id
BudKey: "department" => budget_key
Ref: ""
budAmt: (payable_salary+tax_deduction+other_deduction) 
Status: "F"
PartyID: "department"=>PartyID
AHKey: "department" => AHKey